//
//  NMModel.h
//  NotificationMe
//
//  Created by max on 2018/12/16.
//  Copyright © 2018年 dayang. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface NMStateItem : NSObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *title;

@end

@interface NMActionItemModel : NSObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, assign) BOOL enable;

@end


@interface NMLocationItem : NSObject

@property (nonatomic, assign) int radius;

@property (nonatomic, assign) BOOL notifyOnEntry;

@property (nonatomic, assign) BOOL notifyOnExit;

@end

@interface NMItem : NSObject

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, assign) BOOL voice;
@property (nonatomic, assign) BOOL repeat;
@property (nonatomic, assign) int timeInterval;
@property (nonatomic, strong) NMLocationItem *locationItem;
@property (nonatomic, strong) NSDateComponents *components;

@end
